package common.message.clientSend;

import common.message.Message;

public class UpdatePwdMsg extends Message {
	
	private static final long serialVersionUID = -9057821182473215617L;
	
	private String oldPassword, newPassword;
	
	public UpdatePwdMsg(int uid, String oldPwd, String newPwd) {
		super(getUserFlag() + Integer.toString(uid), getServerFlag());
		oldPassword = oldPwd;
		newPassword = newPwd;
	}
	
	public int getUserID() { return getFromUserID(); }
	public String getOldPassword() { return oldPassword; }
	public String getNewPassword() { return newPassword; }
	
}
